package com.shuatim.model.wechat;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author yhy
 */
@TableName("paper")
@Data
public class Paper implements Serializable {
    private static final long serialVersionUID = 3093968816358043173L;
    @TableId
    private Integer id;

    private String title;

    /**
     * 分类ID
     */
    private Integer category;

    /**
     * 0随机，1手工
     */
    private Boolean type;

    /**
     * 考试时长
     */
    private Integer time;

    /**
     * 总分
     */
    private Integer total;

    /**
     * 及格线
     */
    private Integer passing;

    /**
     * 1打乱选项顺序
     */
    private Boolean upset;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private Integer user;

    /**
     * 试题分配，json
     */
    private String question;
    private String categoryName;
    private int count;



}